package com.lazar.domain;

import java.util.Date;

public class Log {

    private Integer id;
    private Worker worker;
    private Guest guest;
    private Date  date;
    private String title;
    private String detail;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Worker getWorker() {
        return worker;
    }

    public void setWorker(Worker worker) {
        this.worker = worker;
    }

    public Guest getGuest() {
        return guest;
    }

    public void setGuest(Guest guest) {
        this.guest = guest;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "Log{" +
                "id=" + id +
                ", worker=" + worker +
                ", guest=" + guest +
                ", date=" + date +
                ", title='" + title + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }
}
